import React from 'react';
import './index.less';
import {connect} from "dva";
import BaseComponent from "components/Base/BaseComponent";
import Panel from "components/Base/Panel";
import QChart from "./QChart";
import QlistData from "./QlistData";

@connect(({qualityData}) => ({qualityData}))
export default class extends BaseComponent {

  getNamespace() {
    return 'qualityData';
  }

  render() {

    return (
      <div className="qdata">
        <Panel title="数据列表">
          <QlistData/>
        </Panel>

        <Panel title="质控图">
          <QChart/>
        </Panel>
      </div>

    );
  }

}
